package com.yoyo;

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;

public class YoyoTest {
	public static void main(String[] args) {
//		Path path = Path.
		File file = new File("d:/a.txt");
		System.out.println("asdf");
		System.out.println("asdf"); 
		System.out.println("asdf"); 
		System.out.println("asdf"); 
		try {
			Files.lines(file.toPath()).map(Integer::valueOf).filter(a -> a > 3 && a < 6).forEach(System.out::println);;
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
